package com.GuArt.user.provider.impl;

import com.GuArt.user.inter.IUserRPCService;
import com.GuArt.user.inter.com.GuArt.user.dto.UserDTO;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService
public class UserRPCService implements IUserRPCService {
    @Override
    public UserDTO getUserByID(Long userId) {
        UserDTO userDTO = new UserDTO();
        userDTO.setUserId(1L);
        userDTO.setNickName("test");
        userDTO.setTrueName("boy");
        userDTO.setAvatar("/img/avatar.png");

        return userDTO;

    }
}
